package tianwang.model;

import java.io.File;

import tianwang.util.PathUtil;

/**
 * 文章模型
 */
public class CAFile {
	private Integer id;
	private String path;
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getPath() {
		return path;
	}
	public void setPath(String path) {
		this.path = path;
	}
	
	public File getFile(){
		return new File(PathUtil.storePath + this.path);
	}
}
